﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 控制台应用
{
    public static class DistinctHelper
    {
        public static bool IsHaveRepeat(List<string> strList)
        {
            return strList.GroupBy(obj => obj).Where(o => o.Count() > 1).Count() >= 1 ? true : false;
        }
    }
}
